<?php
$objDef = new objectDef($className);
if(!isset($hide))
	$hide = array(); 
if(!isset($alias))
	$alias = ''; 
if(!isset($formAttach))
	$formAttach = null; 

$hide[]='etat';
if(!isset($view)) $view = 'mesmessages';
if(!isset($order)) $order = 'id*desc';
if(!isset($actualPage)) $actualPage = 1;
$extraParams = '&view=' . $view . '&order=' . $order . '&page=' . $actualPage;

?>
<h1><?php echo __('Edit').' '. $objDef->label?></h1>

<?php include_partial('form', array('form' => $form,'module' => $module,'className' => $className, 
		'default'=>'true', 'hide'=>$hide, 'formAttach'=>$formAttach, 
		'owner_id'=>$owner_id, 'extraParams' => $extraParams)) ?>
